package com.jiyinit.web.core.mobile.entity;

import com.jiyinit.core.framework.base.entity.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 
 * 
 * @author Txd
 * @date 2019-01-16 11:54:47
 * @version 1.0
 *
 */
public class TabCoreExchangeEntity extends BaseEntity{
    
    /**
     * 主键
     * 可为空：
     */
    private Integer id;
    
    /**
     * 标题
     * 可为空：
     */
    private String title;
    
    /**
     * 内容
     * 可为空：
     */
    private String text;
    
    /**
     * 图片地址
     * 可为空：
     */
    private String pictureUrl;
    
    /**
     * 浏览次数
     * 可为空：
     */
    private Integer browseNum;
    
    /**
     * 作者id
     * 可为空：
     */
    private Integer userId;
    
    /**
     * 创建时间
     * 可为空：
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private java.util.Date createTime;
    
    /**
     * 是否删除，0：未删除，1：删除
     * 可为空：
     */
    private Integer isDelete;
    
    /**
     * 备用字段1
     * 可为空：
     */
    private String attr1;
    
    /**
     * 备用字段2
     * 可为空：
     */
    private String attr2;

    /**
     * 创建人姓名
     */
    private String userName;

    /**
     * 评论条数
     */
    private Integer comments;

    /**
     * 点赞数
     */
    private Integer praise;

    /**
     * 用户头像
     */
    private String avatar;

    /**
     * 是否自己点赞 0:未点赞，1：已点赞
     */
    private Integer isClick;

    public Integer getIsClick() {
        return isClick;
    }

    public void setIsClick(Integer isClick) {
        this.isClick = isClick;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getComments() {
        return comments;
    }

    public void setComments(Integer comments) {
        this.comments = comments;
    }

    public Integer getPraise() {
        return praise;
    }

    public void setPraise(Integer praise) {
        this.praise = praise;
    }

    public Integer getId(){
        return id;
    }

    public void setId(Integer id){
        this.id = id;
    }
    
    public String getTitle(){
        return title;
    }

    public void setTitle(String title){
        this.title = title;
    }
    
    public String getText(){
        return text;
    }

    public void setText(String text){
        this.text = text;
    }
    
    public String getPictureUrl(){
        return pictureUrl;
    }

    public void setPictureUrl(String pictureUrl){
        this.pictureUrl = pictureUrl;
    }
    
    public Integer getBrowseNum(){
        return browseNum;
    }

    public void setBrowseNum(Integer browseNum){
        this.browseNum = browseNum;
    }
    
    public Integer getUserId(){
        return userId;
    }

    public void setUserId(Integer userId){
        this.userId = userId;
    }
    
    public java.util.Date getCreateTime(){
        return createTime;
    }

    public void setCreateTime(java.util.Date createTime){
        this.createTime = createTime;
    }
    
    public Integer getIsDelete(){
        return isDelete;
    }

    public void setIsDelete(Integer isDelete){
        this.isDelete = isDelete;
    }
    
    public String getAttr1(){
        return attr1;
    }

    public void setAttr1(String attr1){
        this.attr1 = attr1;
    }
    
    public String getAttr2(){
        return attr2;
    }

    public void setAttr2(String attr2){
        this.attr2 = attr2;
    }
	
}